<template>
	<view style="padding: 30rpx;">
		<view class="customer-view">
			<view class="customer-view-title">微信客服二维码</view>
			<image class="customer-view-image" src="../../static/pay/01.jpg" mode=""></image>
			<view class="customer-view-qq">
				<image class="customer-qq-image" src="../../static/pay/qq.png" mode=""></image>
				<view class="customer-qq-bottom">
					<view class="customer-qq-title">客服QQ号</view>
					<view class="customer-qq-desc">{{qq}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				qq:''
			}
		},
		onLoad() {
			this.getData()
		},
		methods:{
			getData(){
				this.$api.agreement().then(res=>{
					if(res.code === 1){
						this.qq = res.data.qq
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.customer-qq-desc{
		font-weight: 500;
		font-size: 34rpx;
		color: #000000;
	}
	.customer-qq-title{
		font-weight: 400;
		font-size: 28rpx;
		color: #000000;
		margin-bottom: 20rpx;
	}
	.customer-qq-image{
		width: 100rpx;
		height: 100rpx;
		border-radius: 50%;
		flex-shrink: 0;
		margin-right: 20rpx;
	}
	.customer-view-qq{
		display: flex;
		align-items: center;
		background-color: #f4f4f4;
		border-radius: 20rpx;
		padding: 30rpx;
		flex: 1;
	}
	.customer-view-image{
		width: 240rpx;
		height: 240rpx;
		flex-shrink: 0;
		margin-bottom: 50rpx;
	}
	.customer-view-title{
		font-size: 15px;
		color: #000000;
		margin-bottom: 50rpx;
	}
	.customer-view{
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding: 30rpx;
		background-color: #ffffff;
		border-radius: 20rpx;
		margin-top: 150rpx;
	}
</style>